* term.c (produce_glyphless_glyph): Remove unnecessary test.
authorPaul Eggert <eggert@cs.ucla.edu>
Wed, 23 Mar 2011 08:09:13 +0000 (01:09 -0700)
committerPaul Eggert <eggert@cs.ucla.edu>
Wed, 23 Mar 2011 08:09:13 +0000 (01:09 -0700)
src/ChangeLog
src/term.c

index cbf5ffb85eb1df431d5af0ad6a2db6df01f57b02..2053b638bacc91a43099042358996fa5fbb58627 100644 (file)
@@ -1,5 +1,7 @@
 2011-03-23  Paul Eggert  <eggert@cs.ucla.edu>
 
+       * term.c (produce_glyphless_glyph): Remove unnecessary test.
+
        * cm.c (calccost): Turn while-do into do-while, for clarity.
 
        Fix more problems found by GCC 4.5.2's static checks.
index e84bbe125f841439d054570fb3a296f9425be639..94fafd73ed88cf0a1f0957052468dbdc4ec843f8 100644 (file)
@@ -1952,7 +1952,7 @@ produce_glyphless_glyph (struct it *it, int for_no_font, Lisp_Object acronym)
 
   it->pixel_width = len;
   it->nglyphs = len;
-  if (len > 0 && it->glyph_row)
+  if (it->glyph_row)
     append_glyphless_glyph (it, face_id, str);
 }